package com.example.mapper;

import com.example.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: 21050134
 * @date: 2023/9/12 15:55
 * @description:
 */
@Mapper
public interface DeptMapper {
	//根据主键获取数据
	Dept selectByPrimaryKey(Integer deptNo);

	//获取表中的全部数据
	List<Dept> GetAll();
}
